Release 10.1A: OpenEdge Development:
ADM Reference
serverCommit
Server-side counterpart of the client-side Commit function, used when running in n-tier (client + AppServer) mode. This procedure receives from the client-side counterpart a dual set of records (original and changed versions) for update. If comparing the original and current versions reveals no outside changes, updates the records. Otherwise, returns the current (changed) versions to the client side without update, for display to the user.
Location: data.p Parameters:INPUT-OUTPUT TABLE FOR RowObjUpdThe Update version of the RowObject temp-table.
OUTPUT cMessages AS CHARACTERA CHR(3)-delimited string of accumulated messages from the server.
OUTPUT cUndoIdsList of any RowObject ROWIDs for which changes were rejected by a commit. Takes the form of RowNum/ADM-ERROR-STRING pairs, CHR(3) separators within pairs, comma separators between pairs.
Notes: The current versions of not-updatable records, if any, are returned in the RowObject temp-table.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |